package com.zlf.demo.service;

import com.zlf.demo.model.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zlf.demo.response.SelectUsersInfoResponseVo;

import java.util.List;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author zhanglongfei
 * @since 2021-01-15
 */
public interface UserService extends IService<User> {

    /**
     * @Description 查询用户角色信息
     * @param:
     * @return:
     * @author:张龙飞
     * @date:2021/1/15 16:01
     */
    public List<SelectUsersInfoResponseVo> listUserAndRoles();

    /**
     * @Description 根据id查询用户信息
     * @param:
     * @return:
     * @author:张龙飞
     * @date:2021/1/15 16:01
     */
    public List<SelectUsersInfoResponseVo> listUsersByIds();

}
